home *** CD-ROM | disk | FTP | other *** search
- Path: freenet.columbus.oh.us!not-for-mail
- From: kstemen@freenet.columbus.oh.us (Kyle Stemen)
- Newsgroups: comp.lang.c++
- Subject: Re: How I redirect output away from the screen?
- Date: 23 Jan 1996 17:46:10 -0500
- Organization: The Greater Columbus FreeNet
- Message-ID: <4e3ofi$qe5@acme.freenet.columbus.oh.us>
- References: <DLM67E.G7E@eskimo.com>
- NNTP-Posting-Host: acme.freenet.columbus.oh.us
- X-Newsreader: TIN [version 1.2 PL2]
-
- C Marsho (maryann@eskimo.com) wrote:
- : Here's my problem. When I use this DOS function
-
- : system("move *.* c:\dir1");
-
- : it shows this on the screen
-
- : c:\file1.txt => c:\dir1
-
- : How can I prevent this using BC++?
- : Reply to maryann@eskimo.com please.
-
- Did you try
- system("move *.* c:\dir1 >text.txt");
- ?
- If you do that it should redirect the output into text.txt.
-